<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.9.1"/>
<title>IDA SDK: Move segment result codes</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">IDA SDK
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.9.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="files.html"><span>Header&#160;Files</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#define-members">Macros</a>  </div>
  <div class="headertitle">
<div class="title">Move segment result codes<div class="ingroups"><a class="el" href="group__seg.html">Segments</a> &raquo; <a class="el" href="group__seg__man.html">Segment manipulation functions</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<p>Return values for <a class="el" href="group__seg__man.html#gab3c11fbdf0ac345cb618b8b0ad3ef04c" title="Move a segment to a new address. ">move_segm()</a> add <a class="el" href="group__seg__man.html#gaa5f20d1b84b6cbccb5a4b173f26e3599" title="Rebase the whole program by &#39;delta&#39; bytes. ">rebase_program()</a> </p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:gafe6cdfae813a03b8fa0e5e6b7b741bc9"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gafe6cdfae813a03b8fa0e5e6b7b741bc9"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___m_o_v_e___s_e_g_m__.html#gafe6cdfae813a03b8fa0e5e6b7b741bc9">MOVE_SEGM_OK</a>&#160;&#160;&#160;0</td></tr>
<tr class="memdesc:gafe6cdfae813a03b8fa0e5e6b7b741bc9"><td class="mdescLeft">&#160;</td><td class="mdescRight">all ok <br /></td></tr>
<tr class="separator:gafe6cdfae813a03b8fa0e5e6b7b741bc9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf67ba30b9748523baac6cc98f15a4e8a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gaf67ba30b9748523baac6cc98f15a4e8a"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___m_o_v_e___s_e_g_m__.html#gaf67ba30b9748523baac6cc98f15a4e8a">MOVE_SEGM_PARAM</a>&#160;&#160;&#160;-1</td></tr>
<tr class="memdesc:gaf67ba30b9748523baac6cc98f15a4e8a"><td class="mdescLeft">&#160;</td><td class="mdescRight">The specified segment does not exist. <br /></td></tr>
<tr class="separator:gaf67ba30b9748523baac6cc98f15a4e8a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6c84213f5718f76655993ff37e88f823"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga6c84213f5718f76655993ff37e88f823"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___m_o_v_e___s_e_g_m__.html#ga6c84213f5718f76655993ff37e88f823">MOVE_SEGM_ROOM</a>&#160;&#160;&#160;-2</td></tr>
<tr class="memdesc:ga6c84213f5718f76655993ff37e88f823"><td class="mdescLeft">&#160;</td><td class="mdescRight">Not enough free room at the target address. <br /></td></tr>
<tr class="separator:ga6c84213f5718f76655993ff37e88f823"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7136bdca237152b0e8e8f21924df5091"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga7136bdca237152b0e8e8f21924df5091"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___m_o_v_e___s_e_g_m__.html#ga7136bdca237152b0e8e8f21924df5091">MOVE_SEGM_IDP</a>&#160;&#160;&#160;-3</td></tr>
<tr class="memdesc:ga7136bdca237152b0e8e8f21924df5091"><td class="mdescLeft">&#160;</td><td class="mdescRight">IDP module forbids moving the segment. <br /></td></tr>
<tr class="separator:ga7136bdca237152b0e8e8f21924df5091"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8e5d1b0d5d3a9c146068d9ac40ef2bdc"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga8e5d1b0d5d3a9c146068d9ac40ef2bdc"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___m_o_v_e___s_e_g_m__.html#ga8e5d1b0d5d3a9c146068d9ac40ef2bdc">MOVE_SEGM_CHUNK</a>&#160;&#160;&#160;-4</td></tr>
<tr class="memdesc:ga8e5d1b0d5d3a9c146068d9ac40ef2bdc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Too many chunks are defined, can't move. <br /></td></tr>
<tr class="separator:ga8e5d1b0d5d3a9c146068d9ac40ef2bdc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf38f9db740d57b0d0ee1aa461c8d3867"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gaf38f9db740d57b0d0ee1aa461c8d3867"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___m_o_v_e___s_e_g_m__.html#gaf38f9db740d57b0d0ee1aa461c8d3867">MOVE_SEGM_LOADER</a>&#160;&#160;&#160;-5</td></tr>
<tr class="memdesc:gaf38f9db740d57b0d0ee1aa461c8d3867"><td class="mdescLeft">&#160;</td><td class="mdescRight">The segment has been moved but the loader complained. <br /></td></tr>
<tr class="separator:gaf38f9db740d57b0d0ee1aa461c8d3867"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa99197427fa79a0a4e204e1cc78eae43"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gaa99197427fa79a0a4e204e1cc78eae43"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___m_o_v_e___s_e_g_m__.html#gaa99197427fa79a0a4e204e1cc78eae43">MOVE_SEGM_ODD</a>&#160;&#160;&#160;-6</td></tr>
<tr class="memdesc:gaa99197427fa79a0a4e204e1cc78eae43"><td class="mdescLeft">&#160;</td><td class="mdescRight">Can not move segments by an odd number of bytes. <br /></td></tr>
<tr class="separator:gaa99197427fa79a0a4e204e1cc78eae43"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga65b42e516b677fd959f59b7ad1bee79f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga65b42e516b677fd959f59b7ad1bee79f"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___m_o_v_e___s_e_g_m__.html#ga65b42e516b677fd959f59b7ad1bee79f">MOVE_SEGM_ORPHAN</a>&#160;&#160;&#160;-7</td></tr>
<tr class="memdesc:ga65b42e516b677fd959f59b7ad1bee79f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Orphan bytes hinder segment movement. <br /></td></tr>
<tr class="separator:ga65b42e516b677fd959f59b7ad1bee79f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.9.1
</small></address>
</body>
</html>
